package com.lovo.user.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lovo.common.bean.UserInfoBean;
import com.lovo.common.dao.IUserInfoDAO;
import com.lovo.user.service.IUserInfoService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author bdk
 * @since 2021-03-1s
 */
@Service
@Slf4j
public class UserInfoServiceImpl extends ServiceImpl<IUserInfoDAO, UserInfoBean> implements IUserInfoService {

    @Override
    public void sendMail(String mail) {
        log.info("邮件地址："+mail+"；注册成功");
    }

    @Override
    public void sendMessage(String phone) {
        log.info("电话："+phone+"；注册成功");
    }
}
